package cn.lanca.gof0_5._05builder.case2.concrete_builder;

import com.example.demo.gof0_5._05builder.case2.builder.Decorator;

/**
 * @author meihongliang
 * @since 2020/8/7 17:10
 */
public class ConcreteDecorator2 extends Decorator {
    @Override
    public void buildWall() {
        product.setWall("w2");
    }

    @Override
    public void buildTV() {
        product.setTV("tv2");
    }

    @Override
    public void buildSofa() {
        product.setSofa("sf2");
    }
}
